package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.dto.BookDTO;
import com.example.pojo.Book;
import com.example.pojo.PageBean;

public interface BookService extends IService<Book> {

    //新增图书更改类别信息
    public void insertWithCategory(Book book);

    //删除图书更改类别信息
    public void deleteWithCategory(Integer id);

    //更新图书更改类别信息
    public void updateWithCategory(Book book);

    //条件分页查询
    public PageBean<Book> find(BookDTO bookDTO);
}
